package com.lzy.properties;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Slf4j
@Data
@EqualsAndHashCode
@ConfigurationProperties(prefix = "cn.lzy.sdk.oss")
public class AliyunOSSProperties {

    /**
     * 阿里云API的外网域名
     */
    private String endPoint = "oss-cn-shenzhen.aliyuncs.com";
    /**
     * 阿里云API的密钥Access Key ID
     */
    private String accessKeyId = "LTAIaCf8F6Yjegxe";
    /**
     * 阿里云API的密钥Access Key Secret
     */
    private String accessKeySecret = "WAcOsGqLVPuyFDDb9H7YuRY81zAW8H";
    /**
     * 阿里云OSS主文件夹
     */
    private String bucketName = "lzy-image";
    /**
     * 环境文件夹
     */
    private String filehostType = "test/";
    /**
     * 展示图片前缀
     */
    private String showImageHost="https://lzy-image.oss-cn-shenzhen.aliyuncs.com";

    private boolean enabled = false;


}
